# -*- mode: org; fill-column: 80; -*-
#+TITLE: Dice rolling
#+AUTHOR: Zelphir Kaltstahl
#+EMAIL: zelphirkaltstahl@posteo.de
#+STARTUP: content indent align inlineimages hideblocks entitiesplain nologdone nologreschedule nologredeadline nologrefile
#+TODO: TODO INPROGRESS | DONE
#+DATE: [2021-10-16 Sat]
#+LANGUAGE: English
#+PRIORITIES: A E E

* Usage

Run the following command from the root directory of this repository:

#+begin_src shell
GUILE_LOAD_PATH=.:dice-rolling:random guile dice-rolling/dice-rolling.scm
#+end_src

** Interactive REPL session

#+begin_src scheme
(add-to-load-path ".")
(add-to-load-path "dice-rolling/")
(add-to-load-path "random/")
(load "dice-rolling/dice-rolling.scm")
(import (dice-rolling))
(roll-dice 5)
#+end_src
